@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Pu shuo <pushuo@opencart.cn>
// @created          2017-11-24 11:51:00
// @modified         2017-12-05 10:34:57
//

.swiper-viewport {
  margin: 0 0 30px;
  z-index: 1;
  position: relative;
  overflow: visible;

  @media (max-width: 768px) {
    margin: 0 0 15px;
  }

  &:hover {
    .swiper-button-prev {
      opacity: 0.7 !important;
      left: 130px !important;
    }

    .swiper-button-next {
      opacity: 0.7 !important;

      right: 130px !important;
    }
  }

  .swiper-container {
    direction: ltr !important;
  }

  .swiper-pager {
    width: 100%;
    position: absolute;
    top: 50%;
    line-height: 45px;

    .swiper-button-prev, .swiper-button-next {
      width: 94px;
      height: 136px;
      text-align: center;
      line-height: 46px;
      background-size: 100%;
      margin-top: -68px;
      //border-radius: 50%;
      //background: #fff;
      //color: #222;
      //border: 2px solid #ddd;
      z-index: 2 !important;
      //background-image: none !important;
      @include transition(all .3s ease-in-out);

      @media (max-width: 768px) {
        display: none;
      }

      &:focus {
        outline: none;
      }

      &:hover {
        //color: #fff;
        //border-color: $brand-primary;
        //background: $brand-primary;
        //opacity: 1 !important;
      }
      &:before {
        content: "";
        font-family: FontAwesome;
        font-size: 12px;
      }
    }

    .swiper-button-prev {
      left: 120px;
      background-image: url("/catalog/view/theme/default/image/icon_Arrow@2x.png");

      &:before {
        //content: "\f053";
      }

      @media (min-width: 768px) {
        opacity: 0;
      }
    }

    .swiper-button-next {
      right: 120px;
      background-image: url("/catalog/view/theme/default/image/icon_Arrow1@2x.png");
      &:before {
        //content: "\f054";
      }

      @media (min-width: 768px) {
        opacity: 0;
      }
    }
  }

  .swiper-pagination {
    bottom: 40px;
    width: 100%;

    .swiper-pagination-bullet {
      margin: 0 4px;

      &:hover {
        background: #333;
      }
      background-color: $brand-secondary;
      opacity: 1;

      &:focus{
        outline: none;
      }
    }
    .swiper-pagination-bullet-active {
      background: #ffffff;
    }

    .swiper-slide-image{
      width: 100%;
    }
  }

  .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
  }
}
